package com.spider.dao.hbase;

import java.util.List;

import org.apache.hadoop.hbase.client.Put;
import org.apache.hadoop.hbase.client.Result;

public interface HBaseDao {
	public void create(String tableName, String[] cfs);

	public void save(Put put, String tableName);

	public void save(List<Put> put, String tableName);

	public void insert(String tableName, String rowKey, String family, String quailifer, String value);

	public void insert(String tableName, String rowKey, String family, String quailifer[], String value[]);

	public Result getRow(String tableName, String rowKey);

	public List<Result> getRows(String tableName, String rowKeyLike);

	public List<Result> getRows(String tableName, String startRow, String stopRow);

	public void deleteRecords(String tableName, String rowKeyLike);

}
